<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Pike_Reflection_Resource</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Pike_Reflection_Resource</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Pike reflection resource</p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright (C) 2011 by Pieter Vogelaar (platinadesigns.nl) and Kees Schepers (keesschepers.nl)</li>
				<li><span class="field">license:</span> MIT</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Reflection---Resource.php.html">/Reflection/Resource.php</a> (line <span class="field"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a36">36</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$_attributes" title="details" class="var-name">$_attributes</a>
				</div>
																<div class="var-title">
					<span class="var-type">Zend_Controller_Front</span>
					<a href="#$_frontController" title="details" class="var-name">$_frontController</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																				
												<div class="method-definition">
											<span class="method-result">Pike_Reflection_Resource</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#toArray" title="details" class="method-name">toArray</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#toFlatArray" title="details" class="method-name">toFlatArray</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$moduleName</span> = <span class="var-default">'default'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#_excludeErrorHandlerResource" title="details" class="method-name">_excludeErrorHandlerResource</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$resources</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#_getInflectedActionName" title="details" class="method-name">_getInflectedActionName</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$actionName</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">array</span>
										<a href="#_getResourceAttributesFromActionMethod" title="details" class="method-name">_getResourceAttributesFromActionMethod</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$actionMethod</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$_attributes" id="$_attributes"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$_attributes</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a43">43</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attributes</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_frontController" id="$_frontController"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">Zend_Controller_Front</span>
			<span class="var-name">$_frontController</span>
						(line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a49">49</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">FrontController</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a56">56</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Pike_Reflection_Resource</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtoArray" id="toArray"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">toArray</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a87">87</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the resources as a multi dimensional array</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			toArray
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtoFlatArray" id="toFlatArray"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">toFlatArray</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a140">140</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the resources as an associative array</p>
<p class="description"><p>Format: controller_action =&gt; human</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			toFlatArray
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$moduleName</span> = <span class="var-default">'default'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$moduleName</span>			</li>
				</ul>
		
			
	</div>
<a name="method_excludeErrorHandlerResource" id="_excludeErrorHandlerResource"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_excludeErrorHandlerResource</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a163">163</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns resources with the error handler resource excluded</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			_excludeErrorHandlerResource
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$resources</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$resources</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getInflectedActionName" id="_getInflectedActionName"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_getInflectedActionName</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a70">70</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the inflected action name</p>
<p class="description"><p>CamelCase actions are converted to lowercase with the &quot;-&quot; seperator to follow  the default behaviour.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			_getInflectedActionName
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$actionName</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$actionName</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getResourceAttributesFromActionMethod" id="_getResourceAttributesFromActionMethod"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_getResourceAttributesFromActionMethod</span> (line <span class="line-number"><a href="../__filesource/fsource_Pike__ReflectionResource.php.html#a182">182</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array with resource attributes for the specified method</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			_getResourceAttributesFromActionMethod
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$actionMethod</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Zend_Reflection_Method</span>
				<span class="var-name">$actionMethod</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 15 Sep 2011 16:07:52 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>